<%
	DIRECTIVE SAFE_OUTPUT_OPEN;
%>
<form id="normalLoginForm" class="form-horizontal" action="${ctx}/auth/login?${_para}"  role="form" method="post">
   <input type="hidden" id="pw" value="" style="display: none;">
   <div class="row fw-row-no-margin center">
		  <div class="form-group">
		    <div class="col-sm-12">
		      <input autocomplete="off" type="text" class="form-control" value="${sys_default_login_username}" name="username" placeholder="用户名/已验证手机/邮箱">
		      <span class="glyphicon glyphicon-user form-control-feedback" style="right: 16px;"></span>
		    </div>
		  </div>
		  <div class="form-group">
		    <div class="col-sm-12">
		      <input autocomplete="off" once="true" type="password" class="form-control" value="${sys_default_login_password}" name="password" placeholder="密码">
		      <span class="glyphicon glyphicon-lock form-control-feedback" style="right: 16px;"></span>
		    </div>
		  </div>
		  <%if(session.ShowCAPTCHA=='true'){%>
		  <div class="form-group">
		      <div class="col-sm-12">
		      		<input type="text" once="true" autocomplete="off" name="captcha" value="${sys_default_login_captcha}" style="width: 60%;"  class="form-control pull-left" placeholder="验证码">
					<img alt="验证码" title="点击更换验证码" width="40%" height="34px" class="pull-right captcha-img" id="randCodeImage"  src="${ctx}/auth/jcaptcha.jpg?w=99&h=31&${_para}" 
						 onclick="this.src = '${ctx}/auth/jcaptcha.jpg?w=99&h=32&v=' + Math.random()+'&${_para}'"/>
			   </div>
		  </div>
		  <%}%>
		  <div class="form-group">
		    <div class="col-sm-12">
		     <%if(session.enableAutoLogin){%>
		     <span class="fw-form-line-left">
			     <input type="checkbox" class="ck" name="autoLogin" value="1" >
				 <b class="fw-read">2周内自动登录</b>
		     </span>
		      <%}%>
			  <a href="${ctx}/auth/retrieve/password" title="点击找回密码" tabindex="6" class="fw-read fw-form-line-right">
										忘记密码？</a>
		    </div>
		  </div>
		  <div class="form-group clearfix center">
		    <div class="col-sm-12">
		      <button type="submit" style="width:100%;background-color: #428bca;color: white;" class="btn btn-default">登录</button>
		    </div>
		  </div>
	 </div>
   </form>